﻿<?php $this->load->view('admin/_header1') ?>

<div class="Main">	
	<?php
	echo $title;
	echo form_open_multipart("admin/setting/dosavepagestyle",array("id" => "formset"))
	?>
	<table cellpadding=5px cellspacing=5 >
		<tr height=25 >
			<td width=120 >website type: </td>
			<td width=250>
				<input type=radio id="chkwebtype1" name="Websitetype" <?=set_radio("Websitetype","1",$Websitetype1)?> value="1" /><label for="chkwebtype1"> China Air sales Channel</label>				
			</td>			
		</tr>
		<tr>
			<td align=right >Your site's url is</td>
			<td><input type="text" name="weburl" value="<?=set_value("weburl",$weburl);?>" style="width:250px" class="txd" /></td>
		</tr>
		
		<tr height=25 >
			<td></td>
			<td>
				<input type=radio id="chkwebtype2" name="Websitetype" <?=set_radio("Websitetype","2",$Websitetype2)?> value="2" /><label for="chkwebtype2">China air sales web</label>				
			</td>
			<td></td>
		</tr>
		
		<tr height=25 >
			<td>website title</td>
			<td>      
				Chinese:<input type="text" name="tWebsiteTitle_cn" style="width:250px" value="<?=set_value("tWebsiteTitle_cn",$tWebsiteTitle_cn);?>" class="txd" />
			</td>
		</tr>
		
		<tr height=25 >
			<td></td>
			<td>&nbsp;English:<input type="text" name="tWebsiteTitle_en" style="width:250px" value="<?=set_value("tWebsiteTitle_en",$tWebsiteTitle_en);?>" class="txd" /></td>
		</tr>
		
		<tr height=25 >
			<td  width=120>color style of your website</td>
			<td><?php
			$arcss=$this->config->item("web_css");
			echo form_dropdown('WebCss', $arcss, $WebCss);
			?></td>
		</tr>
		
		<tr height=25 >
			<td  width=120>No frame</td>
			<td><input type=checkbox id="chkwebtype3" name="usenoframe" <?=set_radio("usenohead","0",$usenoframe=="1")?> value="1" /><label for="chkwebtype3">no frame</label></td>
		</tr>
		
		<tr height=60 valign=top >
			<td  width=120>Upload your logo</td>
			<td><?php
			echo form_upload("userfile","");
			echo form_hidden("logoURL",$LogoURL);
			?></td>
			<td><img src="<?=site_url(str_replace("images/","images/preview/",$LogoURL))?>" /></td>
		</tr>
		
		<tr height=30>
			<td></td>
			<td><input type=submit name="bbb" value="Save Setting" /></td>
			<td></td>
		</tr>
		
		<tr height=30>
			<td></td>
			<td>&nbsp;<span class="txred"><?=$message?></span></td>
			<td></td>
		</tr>
		
	</table>
	<?php
	echo form_close();
	?>
</div>
<?php $this->load->view('admin/_footer1') ?>